using System;
using System.Collections.Generic;

namespace HISModels.Entities
{
	public class PatientReg
	{
	    public PatientReg()
		{
			this.DocRegRefRels = new List<DocRegRefRel>();
			this.DoctorRegRels = new List<DoctorRegRel>();
			this.GSCSlips = new List<GSCSlip>();
		}

		public int Id { get; set; }
		public string CodeValue { get; set; }
		public int HuLobRelId { get; set; }
		public System.DateTime RegistrationTime { get; set; }
		public int PatientId { get; set; }
		public string CreatedBy { get; set; }
		public Nullable<System.DateTime> CreatedOn { get; set; }
		public string ModifiedBy { get; set; }
		public Nullable<System.DateTime> ModifiedOn { get; set; }
		public Nullable<int> RecordStatus { get; set; }
		public virtual ICollection<DocRegRefRel> DocRegRefRels { get; set; }
		public virtual ICollection<DoctorRegRel> DoctorRegRels { get; set; }
		public virtual ICollection<GSCSlip> GSCSlips { get; set; }
		public virtual HuLobRel HuLobRel { get; set; }
		public virtual Patient Patient { get; set; }
	}
}

